﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.Master" AutoEventWireup="true"
    CodeBehind="AdminDocument.aspx.cs" Inherits="EHTSaleManager.UIAdmin.AdminDocument" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
     <h1>
        <asp:Label ID="lbAdminDocument" runat="server" Text="Document Leder"></asp:Label>
    </h1>
    <table cellspacing="0" cellpadding="0" class="data-table">
        <tr>
            <td colspan="2">
                <span class="failureNotification">
                    <asp:Literal ID="ltrMessage" runat="server"></asp:Literal>
                </span>
                <asp:ValidationSummary ID="LoginUserValidationSummary" runat="server" CssClass="failureNotification"
                    ValidationGroup="DocumentGroup" />
            </td>
        </tr>
        <tr>
           <td align="right">
                <asp:Label ID="Description" runat="server">Beskrivelse:</asp:Label>
            </td>
            <th>
                <asp:TextBox ID="txtDescription" runat="server" CssClass="textEntry"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rDescription" runat="server" ControlToValidate="txtDescription"
                    ValidationGroup="DocumentGroup" CssClass="failureNotification" ErrorMessage="Name is required."
                    ToolTip="Name is required." Text="*" />
            </th>
        </tr>
        <tr>
           <td align="right">
                <asp:Label ID="lbDocumentUrl" runat="server">Document Url:</asp:Label>
            </td>
            <th>
                <asp:FileUpload ID="fuDocumentUrl" runat="server" CssClass="textEntry" ViewStateMode="Enabled" />
            </th>
        </tr>
        <tr>
            <td>
            </td>
            <th>
                <asp:Button ID="btnSave" runat="server" Text="Lagre" ValidationGroup="DocumentGroup"
                    OnClick="btnSave_Click" />
                <asp:Button ID="btnBack" runat="server" Text="Tilbake" OnClick="btnBack_Click" />
            </th>
        </tr>
    </table>
</asp:Content>
